package net.sf.nlp.ltag.extract;

import java.util.List;

import net.sf.nlp.ltag.data.ExtractedTree;
import net.sf.nlp.ltag.persistence.LTAGPersistence;
import net.sf.nlp.ltag.persistence.PersistenceFactory;

import org.apache.log4j.Logger;


public class ExtractPersistence 
{
	protected static Logger logger =  Logger.getLogger(ExtractPersistence.class);
	
	public void saveTrees(List<ExtractedTree> etrees) throws Exception
	{
		LTAGPersistence persistence = PersistenceFactory.createPersistence();
		
		persistence.saveTrees(etrees);
	}
}
